package com.jy.mapper;

import com.jy.entity.CwAdvertising;
import com.jy.entity.CwLsparking;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jy.entity.PageInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 临时车位费 Mapper 接口
 * </p>
 *
 * @author WeiQuan
 * @since 2022-11-14
 */
public interface CwLsparkingMapper extends BaseMapper<CwLsparking> {
//    查询临时停车费
    List<CwLsparking> allCwLsparking(PageInfo pageInfo);
//    查询临时停车费数量
    @Select("select count(*) from cw_lsparking")
    public int selcwlsparkingcount();
//    新增临时停车费
    public int addcwlsparking(CwLsparking cwLsparking);
//    删除临时停车费
    public int delCwLsparking(Integer lid);
//    修改临时停车费
    public int upCwLsparking(CwLsparking cwLsparking);
}
